﻿using System;

namespace MissingLinq.Linq2Management.Model
{
	/// <summary>
	/// Attribute containing validation information that is applied to the property of a Windows Management data entity
	/// </summary>
	[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
	public class ConstraintAttribute : Attribute
	{
		/// <summary>
		/// The maximum length of the field
		/// </summary>
		public int MaximumLength { get; set; }
	}
}
